package shared

type CommandMsg struct {
	Command string `json:"command"`
	Body    string `json:"body"`
}

type Heartbeat struct {
	ClientId   string `json:"client_id"`
	ClientName string `json:"client_name"`
	TimeStamp  int64  `json:"time_stamp"`
}

type ChatMsg struct {
	ClientId  string `json:"client_id"`
	Message   string `json:"message"`
	TimeStamp int64  `json:"time_stamp"`
}

type ChatMsgResponse struct {
	ClientId   string `json:"client_id"`
	ClientName string `json:"client_name"`
	Message    string `json:"message"`
	TimeStamp  int64  `json:"time_stamp"`
}
